package com.lijinjiang.beautyeye.utils;

import java.awt.*;

/**
 * @Description 系统工具包
 * @Author Li
 * @ModifyDate 2023/4/9 23:11
 */
public class SystemUtils {
    public static String getScreenResolution() {
        Toolkit tk = Toolkit.getDefaultToolkit();
        Dimension screenSize = tk.getScreenSize();
        int width = screenSize.width;//宽
        int height= screenSize.height;//高
        if (width == 3840 && height == 2160){
            return "4K";
        }
        return "1K";
    }
}
